<?php
class battle_person{
	public $uid; 
	public $name;
	public $state;
	public $content;//card_type
}

 class notify_enterbattle
{
	public $challenge_uid;
	public $group_id;//temp int 
	public $persons;

	public function clone(person_wrap $person_wrap)
	{
		$this->challenge_uid = $person_wrap->challenge_uid;
		$this->group_id = $person_wrap->group_id;
		$this->persons = $person_wrap->persons;
	}
}

class person_wrap extends notify_enterbattle{
	public $challenge_uid_old;
	public $dice_type;
	public $dice_num;
	public $is_vegetable;
}